package com.usian.day01.fegin;

import com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand;
import com.usian.day01.fegin.impl.Day02ServiceFeginImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @author baimugudu
 * @email 2415621370@qq.com
 * @date 2023/7/25 14:32
 */
@FeignClient(value = "day01-2",fallback = Day02ServiceFeginImpl.class)
public interface Day02ServiceFegin {
    @RequestMapping("api/test1")
    public List test1();
}
